<template>
	<view class="content">
	
		<button @click="toHaha">to haha</button>
		<Index></Index>
	</view>
</template>

<script>
	import Index from '@/components/Index/Index.vue'
	import CustomNavBar from '@/components/CustomNavBar.vue'
	export default {
		components: {
			Index,
			CustomNavBar
		},
		data() {
			return {

			}
		},
		onLoad() {


			// 查看是否授权

		},
		onPullDownRefresh() {
			console.log('refresh');
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		methods: {
			toHaha() {
				uni.navigateTo({
					url: "/pages/haha/haha"
				})
			}
		}
	}
</script>

<style>

</style>